#!/bin/bash
HOST_NAME=gitlab.sugonedu.co
docker stop keycloak
docker rm keycloak
sudo docker run --detach \
  --hostname ${HOST_NAME} \
  --publish 7080:8080 --publish 8443:8443 \
  --name keycloak \
  --restart always \
  -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin \
  jboss/keycloak
